﻿using Md.Api.Model;

namespace Md.Util.Service;
/// <summary>
/// API统一接口类
/// </summary>
/// <typeparam name="P">统一请求实体类</typeparam>
interface IApi<P>
{
    /// <summary>
    /// 执行
    /// </summary>
    /// <param name="p">请求实体</param>
    /// <returns>ResponseMessageModel</returns>
    ResponseMessageModel Execute(P p);
}

